package com.itheima.service;

import com.itheima.pojo.BusinessException;
import com.itheima.pojo.PageResult;
import com.itheima.pojo.StuQueryParam;
import com.itheima.pojo.Student;

import java.util.List;

public interface StudentService {

    public PageResult page(StuQueryParam stuQueryParam);

    public void delete(List<Integer> ids);

    public void add(Student student) throws BusinessException;

    public Student getInfo(Integer id);

    public void update(Student student);

    public void violationHandle(Integer id, Integer score);




}
